//config.js
/**
 * 
 */

 module.exports = {
     devServer: {
         port: 8080,
         //代理
         proxy: {
             "/api" : {
                 target: "http://39.102.89.187:8080/v2",
                 changeOrigin:true,
                 ws: true,
                 pathRewrite:{
                     '^/api':''
                 }
             }
         }
     }
 }